import axios from '@/libs/api.request'
import { getToken } from '@/libs/util'

/**
 * 认证码搜索
 */
export const apiAuthKeySearch = (keyword) => {
  return axios.request({
    url: '/api/redis/_search/' + keyword,
    method: 'post',
    dataType: 'json',
    headers: {
      'token': getToken()
    }
  })
}
